package main

import (
	"fmt"
	"strings"
)

func main() {

	var name string

	fmt.Scanf("%s", &name)

	fmt.Printf("name is %s \n", name)

	println(strings.IndexAny(name, "王"))
}
